<?php
include ('header1.php');
 //include('databaseconnection.php');
 

//$term=$_POST['butt'];
//$acc_mean=$_POST['butt1'];
if(isset ($_GET['lih1'])){
                $word= $_GET['lih1'];
            }
$arrr=explode('.',$word);
			$term= $arrr[0];
			$acc_mean=$arrr[1];







$result=mysql_query("SELECT * FROM terms WHERE term='$term' and accepted_meaning='$acc_mean'");
echo   "<table width='100%' height='82' border='1' class='table' align='left'>";

while($row=mysql_fetch_array($result))
{
echo "<tr>";
echo "<td width='20%'>Term:</td><td width='80%'>".$row['term']."</td></tr>";

echo "<tr><td>Domain:</td><td>".$row['domain']."</td></tr>";

echo "<tr><td>Accepted Meaning:</td><td>".$row['accepted_meaning']."<input type='hidden' name='butt1' value='$acc_mean'</td></tr>";
echo "<tr><td>Language:</td><td>".$row['language']."</td></tr>";
echo "<tr><td>Suggested by:</td><td>".$row['suggested_by']."</td></tr>";
echo "<tr><td>Suggested Date:</td><td>".$row['suggested_date']."</td></tr>";
echo "<tr><td>Checked by:</td><td>".$row['checked_by']."</td></tr>";
echo "<tr><td>Accepted Date:</td><td>".$row['accepted_date']."</td></tr>";
echo "<tr><td>Number of Votes:</td><td>".$row['votes']."</td></tr>";
echo "<tr><td>Comments:</td><td>".$row['comments']."</td></tr>";
}
include ('footer1.php');
?>